package origin.db.po;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private String username;
	private String password;
	private Integer age;
	private String gender;
	private String city;
	private String hobby;
	private String usertype;
	private Set mailsForReceiver = new HashSet(0);
	private Set mailsForSender = new HashSet(0);
	private Set subscribesForUser2 = new HashSet(0);
	private Set pictures = new HashSet(0);
	private Set subscribesForUser1 = new HashSet(0);
	private Set fcomments = new HashSet(0);
	private Set bcomments = new HashSet(0);
	private Set favourites = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String username, String password) {
		this.username = username;
		this.password = password;
	}

	/** full constructor */
	public User(String username, String password, Integer age, String gender,
			String city, String hobby, String usertype, Set mailsForReceiver,
			Set mailsForSender, Set subscribesForUser2, Set pictures,
			Set subscribesForUser1, Set fcomments, Set bcomments, Set favourites) {
		this.username = username;
		this.password = password;
		this.age = age;
		this.gender = gender;
		this.city = city;
		this.hobby = hobby;
		this.usertype = usertype;
		this.mailsForReceiver = mailsForReceiver;
		this.mailsForSender = mailsForSender;
		this.subscribesForUser2 = subscribesForUser2;
		this.pictures = pictures;
		this.subscribesForUser1 = subscribesForUser1;
		this.fcomments = fcomments;
		this.bcomments = bcomments;
		this.favourites = favourites;
	}

	// Property accessors

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getHobby() {
		return this.hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getUsertype() {
		return this.usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	public Set getMailsForReceiver() {
		return this.mailsForReceiver;
	}

	public void setMailsForReceiver(Set mailsForReceiver) {
		this.mailsForReceiver = mailsForReceiver;
	}

	public Set getMailsForSender() {
		return this.mailsForSender;
	}

	public void setMailsForSender(Set mailsForSender) {
		this.mailsForSender = mailsForSender;
	}

	public Set getSubscribesForUser2() {
		return this.subscribesForUser2;
	}

	public void setSubscribesForUser2(Set subscribesForUser2) {
		this.subscribesForUser2 = subscribesForUser2;
	}

	public Set getPictures() {
		return this.pictures;
	}

	public void setPictures(Set pictures) {
		this.pictures = pictures;
	}

	public Set getSubscribesForUser1() {
		return this.subscribesForUser1;
	}

	public void setSubscribesForUser1(Set subscribesForUser1) {
		this.subscribesForUser1 = subscribesForUser1;
	}

	public Set getFcomments() {
		return this.fcomments;
	}

	public void setFcomments(Set fcomments) {
		this.fcomments = fcomments;
	}

	public Set getBcomments() {
		return this.bcomments;
	}

	public void setBcomments(Set bcomments) {
		this.bcomments = bcomments;
	}

	public Set getFavourites() {
		return this.favourites;
	}

	public void setFavourites(Set favourites) {
		this.favourites = favourites;
	}

}